//package com.gba.mark.origin.mapper;
//
//import com.gba.mark.origin.entity.Origin;
//import org.elasticsearch.search.SearchHits;
//import org.springframework.data.domain.Page;
//import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
//import org.springframework.stereotype.Component;
//import org.springframework.stereotype.Repository;
//
//@Component
//@Repository
//public interface OriginRepository extends ElasticsearchRepository<Origin,Integer> {
//    Origin queryOriginById(Integer id);
//
//    Page<Origin> search(SearchHits hits);
//}
